home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
e
/
misc.xsave
/
000206_fdc@panix.com_Fri Nov 20 17:06:37 2009.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
3KB
|
62 lines
Path: reader1.panix.com!panix!not-for-mail
From: Frank da Cruz <fdc@panix.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How does Kermit 95 initialize \v(desktop)
Date: Fri, 13 Nov 2009 19:47:35 +0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 42
Message-ID: <slrnhfrdun.462.fdc@panix1.panix.com>
References: <3e027b96-6700-4194-b611-b11ab121f064@t11g2000prh.googlegroups.com> <7666f050-bc18-4a71-8c33-b920c13bdede@q14g2000vbi.googlegroups.com> <2f030a05-17bd-4fbc-bb15-60d1be4b7e8a@f18g2000prf.googlegroups.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: panix1.panix.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: reader1.panix.com 1258141655 17894 166.84.1.1 (13 Nov 2009 19:47:35 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Fri, 13 Nov 2009 19:47:35 +0000 (UTC)
User-Agent: slrn/0.9.8.0 (NetBSD)
Xref: panix comp.protocols.kermit.misc:15821
On 2009-10-29, Mark Sapiro <slash_dev_slash_null_2000@yahoo.com> wrote:
: On Oct 27, 6:44�am, Jeffrey Altman <jalt...@gmail.com> wrote:
:> Its not magic. �Its C code. Look at the sources and you can see
:> exactly what it does.
:
: I didn't know I had access to any K95 sources. Where might I find
: them?
:
Well, not all the sources, but the modules it has in common with
C-Kermit, which are most of the modules.
Likewise, most of the code in these modules (ck[cuw_]*.[cwh]) is
common code. K95-specific code is #ifdef'd OS2 or NT.
OS2??? K95 begin its life as the OS/2 version of C-Kermit, before
Windows 95 came out. When Win95 appeared, it shared many of the
OS/2 APIs; thus the #ifdef OS2 sections served, in large part, for
Win-32 as well. The latest version of K95, 2.1.3, is available
for both Windows and (if you can find it) OS/2. The OS/2 binary
is separate; compatibily goes only so far. The Windows binary, on
the other hand, runs on every Windows version from Windows 95
through Windows 7, excluding mini versions of Windows like Pocket
PC and Windows Mobile.
To answer your question, the source for GetDesktop(), which
is used to evaluate \v(desktop), is not in the public modules but,
as Jeff says it's a Registry query plus some string-munching.
\v(desktop) is one of a group of variables that can be used to
refer to special Windows directories in a uniform way, regardless
of Windows version and language. These include \v(appdata),
\v(exedir), \v(inidir), \v(startup), \v(tmpdir), \v(common),
\v(download), \v(home), \v(personal), and \v(textdir).
Of these, only \v(download) has stopped working in recent Windows
version, as noted in:
http://kermit.columbia.edu/k95faq.html
where a workaround is also given.
- Frank